package com.e2edour.service

import com.e2edour.facade.req.WeiXinMsgReq

/**
  * <p>
  *
  * @author King 
  * @since 2017/1/17
  */
trait WeiXinManagerService {

  /**
    * 处理微信端过来的消息
    *
    * @param req
    * @return
    */
  def handlerMsg(req: WeiXinMsgReq): String

  /**
    * 验证微信签名
    *
    * @param timestamp
    * @param nonce
    * @param signature
    */
  def checkSignature(timestamp: String, nonce: String, signature: String): Boolean

}
